#!/bin/bash

alias runphp='sudo /usr/local/php/sbin/php-fpm'
alias runng='sudo /usr/local/nginx/sbin/nginx'

alias rlng='sudo /usr/local/nginx/sbin/nginx -s reload'
alias rlphp='sudo kill -s SIGUSR2 `cat /usr/local/php/var/run/php-fpm.pid`'

alias killphp='sudo killall php-fpm'
alias killng='sudo killall nginx'

alias rlall='rlphp;rlng'
alias runall='runphp;runng'
